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 IOException
StreamConnection
object that represents
a server side socket connection. The method blocks until
a connection is made.StreamConnection
to communicate with a client.IOException
- If an I/O error occurs.Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.