Interface ServerSessionLayer
-
- All Superinterfaces:
java.lang.AutoCloseable
- All Known Implementing Classes:
ServerHdlcSessionLayer
,ServerWrapperLayer
public interface ServerSessionLayer extends java.lang.AutoCloseable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
int
getClientId()
int
getLogicalDeviceId()
void
initialize()
byte[]
readNextMessage()
void
send(byte[] data)
-
-
-
Method Detail
-
initialize
void initialize() throws java.io.IOException
- Throws:
java.io.IOException
-
readNextMessage
byte[] readNextMessage() throws java.io.IOException
- Throws:
java.io.IOException
-
send
void send(byte[] data) throws java.io.IOException
- Throws:
java.io.IOException
-
getClientId
int getClientId()
-
getLogicalDeviceId
int getLogicalDeviceId()
-
close
void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Throws:
java.io.IOException
-
-