jcifs.dcerpc

Class DcerpcHandle

Implemented Interfaces:
DcerpcConstants
Known Direct Subclasses:
DcerpcPipeHandle

public abstract class DcerpcHandle
extends java.lang.Object
implements DcerpcConstants

Field Summary

protected jcifs.dcerpc.DcerpcBinding
binding
protected int
max_recv
protected int
max_xmit
protected int
state

Fields inherited from interface jcifs.dcerpc.DcerpcConstants

DCERPC_CONC_MPX, DCERPC_DID_NOT_EXECUTE, DCERPC_FIRST_FRAG, DCERPC_LAST_FRAG, DCERPC_MAYBE, DCERPC_OBJECT_UUID, DCERPC_PENDING_CANCEL, DCERPC_RESERVED_1, DCERPC_UUID_SYNTAX_NDR

Method Summary

abstract void
close()
protected abstract void
doReceiveFragment(byte[] buf, boolean isDirect)
protected abstract void
doSendFragment(byte[] buf, int off, int length, boolean isDirect)
static DcerpcHandle
getHandle(String url, NtlmPasswordAuthentication auth)
Principal
getPrincipal()
String
getServer()
protected static jcifs.dcerpc.DcerpcBinding
parseBinding(String str)
void
sendrecv(DcerpcMessage msg)
String
toString()

Field Details

binding

protected jcifs.dcerpc.DcerpcBinding binding

max_recv

protected int max_recv

max_xmit

protected int max_xmit

state

protected int state

Method Details

close

public abstract void close()
            throws IOException

doReceiveFragment

protected abstract void doReceiveFragment(byte[] buf,
                                          boolean isDirect)
            throws IOException

doSendFragment

protected abstract void doSendFragment(byte[] buf,
                                       int off,
                                       int length,
                                       boolean isDirect)
            throws IOException

getHandle

public static DcerpcHandle getHandle(String url,
                                     NtlmPasswordAuthentication auth)
            throws UnknownHostException,
                   MalformedURLException,
                   DcerpcException

getPrincipal

public Principal getPrincipal()

getServer

public String getServer()

parseBinding

protected static jcifs.dcerpc.DcerpcBinding parseBinding(String str)
            throws DcerpcException

sendrecv

public void sendrecv(DcerpcMessage msg)
            throws DcerpcException,
                   IOException

toString

public String toString()