Package com.caplin.datasrc.interfaces
Interface DSPacket
-
- All Superinterfaces:
DSSerializable
- All Known Subinterfaces:
DSContainer
,DSData
,DSPage
,DSPermission
,DSRecord
,TransformerContainer
,TransformerData
,TransformerPermission
,TransformerRecord
- All Known Implementing Classes:
TransformerContainerImpl
,TransformerDataImpl
,TransformerPermissionImpl
,TransformerRecordImpl
public interface DSPacket extends DSSerializable
The base interface for any DataSource packet that can be sent to peers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
send()
Send this DSPacket.void
sendDirect()
Send this DSPacket directly - bypassing any configured sending mechanism that may be in place.void
sendToPeer(int peer)
Sends this DSPacket object to the specified peer.-
Methods inherited from interface com.caplin.datasrc.interfaces.DSSerializable
toBytes
-
-
-
-
Method Detail
-
sendToPeer
void sendToPeer(int peer)
Sends this DSPacket object to the specified peer.- Parameters:
peer
- theDataSource
peer.
-
sendDirect
void sendDirect()
Send this DSPacket directly - bypassing any configured sending mechanism that may be in place.
-
send
void send()
Send this DSPacket.- Since:
- 3.4.0
-
-