|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BehaviorWriterIF
This interface lets you set up some very general defaults, which will be handled by the concrete implementations.
In general, you write to a destination. That destination is represented by an IP address and a port. You can also set a "default destination", where things will go unless you specify otherwise.
Field Summary | |
---|---|
static int |
MTU_SIZE
The (rough) size of an ethernet frame |
Method Summary | |
---|---|
void |
setDefaultDestination(java.net.InetAddress addr,
int port)
Set the default destination that the plain write(pdu) method will send data to. |
void |
write(java.nio.ByteBuffer buffer)
Write PDU information to the default destination. |
Field Detail |
---|
static final int MTU_SIZE
Method Detail |
---|
void setDefaultDestination(java.net.InetAddress addr, int port)
addr
- first object that describes destination (eg, IP)port
- second object that describes destination (eg, port number)void write(java.nio.ByteBuffer buffer)
buffer
- the DIS PDU infomation to be written
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |