wtanaka.praya.gale
Class GimmeOperation
java.lang.Object
|
+--wtanaka.praya.gale.GimmeOperation
- All Implemented Interfaces:
- OperationInterface
- public class GimmeOperation
- extends java.lang.Object
- implements OperationInterface
GIMME, from Gale Protocol Version 0.
Opcode 0x00000002: gimme (subscribe to puffs)
+--+--+--+--+--+--+--+--+-||-+
| category expression ... || |
+--+--+--+--+--+--+--+--+-||-+
Return to
or the Praya Homepage
- Version:
- $Name: $ $Date: 2001/09/30 21:14:52 $
- Author:
- $Author: wtanaka $
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
m_categoryExpression
private java.lang.String m_categoryExpression
GimmeOperation
public GimmeOperation(SubscriptionList subscriptions)
- Constructor takes a SubscriptionList
- Parameters:
subscriptions - the SubscriptionList to use
GimmeOperation
public GimmeOperation(java.lang.String categoryExpression)
- Deprecated. use SubscriptionList constructor instead
- Constructor takes a colon separated String
- Parameters:
categoryExpression - the string to use.
getOpcode
public int getOpcode()
- Specified by:
getOpcode in interface OperationInterface
getStreamLength
public int getStreamLength()
- Specified by:
getStreamLength in interface OperationInterface
- Following copied from interface:
wtanaka.praya.gale.OperationInterface
- Returns:
- the total length of the wire representation of this
operation, including opcode.
write
public void write(GaleOutputStream out)
throws java.io.IOException
- Writes this GimmeOperation to the given output stream, locking
it with synchronized (out)
- Specified by:
write in interface OperationInterface
- Parameters:
out - the stream on which to write the GimmeOperation