Package com.automation_pros.odva.cpf
Class SocketCPF
- java.lang.Object
-
- com.automation_pros.odva.cpf.CommonPacketFormat
-
- com.automation_pros.odva.cpf.SocketCPF
-
- Direct Known Subclasses:
IdentityCPF
,O2TSocketCPF
,T2OSocketCPF
public abstract class SocketCPF extends CommonPacketFormat
-
-
Constructor Summary
Constructors Constructor Description SocketCPF(short itype, java.net.InetSocketAddress sa)
SocketCPF(java.nio.ByteBuffer source, CpfWrapper parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.InetAddress
getAddress()
short
getFamily()
int
getFlow()
int
getItemLen()
int
getPort()
int
getScope()
void
putPayload(java.nio.ByteBuffer dest)
void
setAddress(java.net.InetAddress address)
void
setFamily(short family)
void
setFlow(int flow)
void
setPayload(java.nio.ByteBuffer source)
void
setPort(int port)
void
setScope(int scope)
-
Methods inherited from class com.automation_pros.odva.cpf.CommonPacketFormat
getItemType, getParent, getPayload, parseInstance, putBytes, registerHandler, setItemType, setParent, toString, writeBytes
-
-
-
-
Constructor Detail
-
SocketCPF
public SocketCPF(short itype, java.net.InetSocketAddress sa)
-
SocketCPF
public SocketCPF(java.nio.ByteBuffer source, CpfWrapper parent)
-
-
Method Detail
-
getItemLen
public int getItemLen()
- Overrides:
getItemLen
in classCommonPacketFormat
-
getFamily
public short getFamily()
-
setFamily
public void setFamily(short family)
-
getPort
public int getPort()
-
setPort
public void setPort(int port)
-
getAddress
public java.net.InetAddress getAddress()
-
setAddress
public void setAddress(java.net.InetAddress address)
-
getFlow
public int getFlow()
-
setFlow
public void setFlow(int flow)
-
getScope
public int getScope()
-
setScope
public void setScope(int scope)
-
setPayload
public void setPayload(java.nio.ByteBuffer source)
- Overrides:
setPayload
in classCommonPacketFormat
-
putPayload
public void putPayload(java.nio.ByteBuffer dest)
- Overrides:
putPayload
in classCommonPacketFormat
-
-