com.antiaction.mayhem.core
Class BindDatagramSocket

java.lang.Object
  extended by com.antiaction.mayhem.core.BindDatagramSocket
All Implemented Interfaces:
IBinder, java.lang.Runnable

public class BindDatagramSocket
extends java.lang.Object
implements IBinder

Author:
Nicholas TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Constructor Summary
BindDatagramSocket()
           
 
Method Summary
 java.lang.String getHost()
          Get the binders interface host/ip.
 int getPort()
          Get the binders interface port.
 void run()
           
 void setBindDatagramSocketFactory(IBindDatagramSocketFactory _factory)
          Factory used to get a ServerDatagramSocket.
 void setBindSocketFactory(IBindSocketFactory _factory)
          Factory used to get a ServerSocket.
 void setBroker(IObjectBroker _broker)
          Set the broker for storing tokens.
 void setHost(java.lang.String _host)
          Set the binders interface host/ip.
 void setPort(int _port)
          Set the binders interface port.
 void shutdown()
          Shutdown binder.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindDatagramSocket

public BindDatagramSocket()
Method Detail

setHost

public void setHost(java.lang.String _host)
Description copied from interface: IBinder
Set the binders interface host/ip.

Specified by:
setHost in interface IBinder
Parameters:
_host - valid host/ip.

getHost

public java.lang.String getHost()
Description copied from interface: IBinder
Get the binders interface host/ip.

Specified by:
getHost in interface IBinder
Returns:
host/ip.

setPort

public void setPort(int _port)
Description copied from interface: IBinder
Set the binders interface port.

Specified by:
setPort in interface IBinder
Parameters:
_port - tcp port.

getPort

public int getPort()
Description copied from interface: IBinder
Get the binders interface port.

Specified by:
getPort in interface IBinder
Returns:
tcp port.

setBindDatagramSocketFactory

public void setBindDatagramSocketFactory(IBindDatagramSocketFactory _factory)
Description copied from interface: IBinder
Factory used to get a ServerDatagramSocket.

Specified by:
setBindDatagramSocketFactory in interface IBinder
Parameters:
_factory - ServerDatagramSocket Factory.

setBindSocketFactory

public void setBindSocketFactory(IBindSocketFactory _factory)
Description copied from interface: IBinder
Factory used to get a ServerSocket.

Specified by:
setBindSocketFactory in interface IBinder
Parameters:
_factory - ServerSocket Factory.

setBroker

public void setBroker(IObjectBroker _broker)
Description copied from interface: IBinder
Set the broker for storing tokens.

Specified by:
setBroker in interface IBinder
Parameters:
_broker - connection broker.

shutdown

public void shutdown()
Description copied from interface: IBinder
Shutdown binder.

Specified by:
shutdown in interface IBinder

run

public void run()
Specified by:
run in interface java.lang.Runnable


Copyright © 2001-2004 Nicholas Clarke. All Rights Reserved.