javax.microedition.io
StreamConnectionNotifier
Declarationpublic interface StreamConnectionNotifier extends Connection
All Superinterfaces: Connection
Description
This interface defines the capabilities that a connection notifier must have.
Methods
StreamConnection acceptAndOpen()
Methods inherited from interface Connection
close()
Methods
acceptAndOpen()
Declaration:
public javax.microedition.io.StreamConnection acceptAndOpen()
throws IOException
Description:
Returns a StreamConnection object that represents a server side socket connection. The method
blocks until a connection is made.
Returns: A StreamConnection to communicate with a client.
Throws:
java.io.IOException - If an I/O error occurs.
StreamConnectionNotifier javax.microedition.io
acceptAndOpen()
No comments:
Post a Comment