rpc.ncacn_np
Class RpcTransport
java.lang.Object
rpc.ncacn_np.RpcTransport
- All Implemented Interfaces:
- Transport
public class RpcTransport
- extends java.lang.Object
- implements Transport
Field Summary |
static java.lang.String |
PROTOCOL
|
Constructor Summary |
RpcTransport(java.lang.String address,
java.util.Properties properties)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROTOCOL
public static final java.lang.String PROTOCOL
- See Also:
- Constant Field Values
RpcTransport
public RpcTransport(java.lang.String address,
java.util.Properties properties)
throws ProviderException
- Throws:
ProviderException
getProtocol
public java.lang.String getProtocol()
- Specified by:
getProtocol
in interface Transport
getProperties
public java.util.Properties getProperties()
- Specified by:
getProperties
in interface Transport
attach
public Endpoint attach(PresentationSyntax syntax)
throws java.io.IOException
- Specified by:
attach
in interface Transport
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface Transport
- Throws:
java.io.IOException
send
public void send(NdrBuffer buffer)
throws java.io.IOException
- Specified by:
send
in interface Transport
- Throws:
java.io.IOException
receive
public void receive(NdrBuffer buffer)
throws java.io.IOException
- Specified by:
receive
in interface Transport
- Throws:
java.io.IOException
parse
protected void parse(java.lang.String address)
throws ProviderException
- Throws:
ProviderException