|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openiec61850.jmms.iso.acse.ServerAcseSAP
public class ServerAcseSAP
This class implements the server Service Access Point (SAP) for the Application Control Service Element (ACSE) protocol as defined by ISO 8650 or ITU X.217/X.227. The ACSE provides services for establishing and releasing application-associations. The class also realizes the lower ISO Presentation Layer as defined by ISO 8823/ITU X226 and the ISO Session Layer as defined by 8327/ITU X.225.
| Field Summary | |
|---|---|
byte[] |
pSelLocal
|
byte[] |
pSelRemote
|
ServerTSAP |
serverTSAP
|
| Constructor Summary | |
|---|---|
ServerAcseSAP(int port,
int backlog,
java.net.InetAddress bindAddr,
AcseAssociationListener associationListener)
Use this constructor to create a server ACSE SAP that listens on a fixed port. |
|
ServerAcseSAP(int port,
int backlog,
java.net.InetAddress bindAddr,
AcseAssociationListener associationListener,
javax.net.ServerSocketFactory serverSocketFactory)
Use this constructor to create a server ACSE SAP that listens on a fixed port. |
|
| Method Summary | |
|---|---|
void |
connectionIndication(TConnection tConnection)
This function is internal and should not be called by users of this class. |
void |
serverStoppedListeningIndication(java.io.IOException e)
This function is internal and should not be called by users of this class. |
void |
startListening()
Start listening for incoming connections. |
void |
stopListening()
Stop listing on the port. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public ServerTSAP serverTSAP
public byte[] pSelRemote
public byte[] pSelLocal
| Constructor Detail |
|---|
public ServerAcseSAP(int port,
int backlog,
java.net.InetAddress bindAddr,
AcseAssociationListener associationListener)
associationListener - the AssociationListener that will be notified when remote
clients have associated. Once constructed the AcseSAP contains
a public TSAP that can be accessed to set its configuration.
public ServerAcseSAP(int port,
int backlog,
java.net.InetAddress bindAddr,
AcseAssociationListener associationListener,
javax.net.ServerSocketFactory serverSocketFactory)
associationListener - the AssociationListener that will be notified when remote
clients have associated. Once constructed the AcseSAP contains
a public TSAP that can be accessed to set its configuration.| Method Detail |
|---|
public void startListening()
throws java.io.IOException
java.io.IOExceptionpublic void stopListening()
public void serverStoppedListeningIndication(java.io.IOException e)
serverStoppedListeningIndication in interface TConnectionListenere - The IOException caught form ServerSocket.accept()public void connectionIndication(TConnection tConnection)
connectionIndication in interface TConnectionListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||