public interface StreamConnectionNotifier extends Connection
Modifier and Type | Method and Description |
---|---|
StreamConnection |
acceptAndOpen()
Returns a
StreamConnection object that represents
a server side socket connection. |
close
StreamConnection acceptAndOpen() throws java.io.IOException
StreamConnection
object that represents
a server side socket connection. The method blocks until
a connection is made.StreamConnection
to communicate with a client.java.io.IOException
- If an I/O error occurs.java.lang.SecurityException
- If access to the incoming connection,
host and port, is prohibited.Copyright (c) 2014, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.