OSMQ
v2.0.1

osmq.net
Class DiscoverySocket

java.lang.Object
  extended byjava.net.Socket
      extended byosmq.net.DiscoverySocket

public class DiscoverySocket
extends java.net.Socket

A DiscoverySocket is a standard socket implementation that can use dynamic discovery to determine the host address and port.


Constructor Summary
DiscoverySocket(java.lang.String servicename)
          Attempts to attach to the remote service.
DiscoverySocket(java.lang.String hostname, int portid)
           
 
Method Summary
 boolean isBinaryDataMode()
           
 
Methods inherited from class java.net.Socket
bind, close, connect, connect, getChannel, getInetAddress, getInputStream, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getOutputStream, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setKeepAlive, setOOBInline, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, shutdownInput, shutdownOutput, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DiscoverySocket

public DiscoverySocket(java.lang.String servicename)
                throws java.io.IOException
Attempts to attach to the remote service.


DiscoverySocket

public DiscoverySocket(java.lang.String hostname,
                       int portid)
                throws java.io.IOException
Method Detail

isBinaryDataMode

public boolean isBinaryDataMode()

(c) 2000 - 2003 MQue Systems
All Rights Reserved