org.mule.transport.udp.util
Class UdpClient

java.lang.Object
  extended by org.mule.transport.udp.util.UdpClient

public class UdpClient
extends Object


Constructor Summary
UdpClient(int port)
           
 
Method Summary
 void dispatch(byte[] bytes)
           
 byte[] send(byte[] bytes)
           
 byte[] send(String string)
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UdpClient

public UdpClient(int port)
          throws UnknownHostException
Throws:
UnknownHostException
Method Detail

send

public byte[] send(String string)
            throws IOException
Throws:
IOException

send

public byte[] send(byte[] bytes)
            throws IOException
Throws:
IOException

dispatch

public void dispatch(byte[] bytes)
              throws IOException
Throws:
IOException

shutdown

public void shutdown()


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.