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 (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.